package org.iast.support;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
import org.junit.Test;

public class FasterXml {
    @Test
    public void TestFasterXml() throws JsonProcessingException {
        XmlMapper mapper = new XmlMapper();
        SimpleBean value = mapper.readValue("<SimpleBean><x>1</x><y>2</y></SimpleBean>", SimpleBean.class);
        System.out.println(value.getX());
    }
}
